package com.cdelink.xzgy.ftp.user.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (User)实体类
 *
 * @author sxl
 * @since 2021-12-13 17:14:23
 */
@ApiModel("用户实体类")
public class User implements Serializable {
    private static final long serialVersionUID = -65632848491530139L;
    /**
     * 主键
     */
    @ApiModelProperty("主键ID")
    private Integer id;
    /**
     * 账户
     */
    @ApiModelProperty("账户")
    private String account;
    /**
     * 密码
     */
    @ApiModelProperty("密码")
    private String password;
    /**
     * 真实姓名
     */
    @ApiModelProperty("用户名")
    private String name;
    /**
     * 0未激活1已经激活
     */
    @ApiModelProperty("是否激活")
    private Integer active;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getActive() {
        return active;
    }

    public void setActive(Integer active) {
        this.active = active;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

